<?php

namespace App\Libs\BaiDuYun;


use BaiduBce\Services\Lss\LssClient;
use App\Http\Controllers\Controller;

//include '../app/Libs/BaiduLive/BaiduBce.phar';
////dd('ok');
//require '../app/Libs/BaiduLive/LiveConf.php';

//调用配置文件中的参数


class Live extends Controller
{
    /**../Libs/p
     * @var LssClient
     */
    public $lssClient;

    public function __construct()
    {
        $file = './BaiduLive/BaiduBce.phar';
        if (file_exists($file)) {
            include $file;
            include './BaiduLive/LiveConf.php';
            global $LSS_TEST_CONFIG;
            $client = new LssClient($LSS_TEST_CONFIG);
            $this->lssClient = $client;
        }
    }

}